<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.io.*"%>
<%@ page import="requestInterFace.Handle.userHandle"%>
<%@ page import="xml.response.*"%>
<%@ page import="xml.root"%>
<%@ page import="util.print.printLogCat"%>
<%@ page import="org.sql.table.*"%>
<%@ page import="xml.var"%>
<%@ page import="java.util.Vector"%>
<%@ page import="java.util.Enumeration"%>
<%@ page import="requestInterFace.UserInfoInterFace.*"%>
<%@ page import="jqgrid.jqgrid"%>
<%@ page import="org.util.getNewData"%>
<%@ page import="util.check"%>
<%@ include file="../../util/paramPrint.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>发货仓库地址</title>
</head>
<div><p><%
String FaHuoAddr = request.getParameter("FaHuoAddr");
SystemInfo1_1 system=new SystemInfo1_1();
system.addequwhile("Type", "=", "set");
system.addequwhile("Title", "=", "FaHuoAddr");
if(system.Select()){

}else{
system.setInsertField("Msg","江东仓库");
system.setInsertField("Title","FaHuoAddr");
system.setInsertField("Type","set");
system.insert();
out.println("没有地址");
}

%></p></div>
<body>
<form id="form1" name="form1" method="post"  action="ModifyFaHuoAddr.jsp">
  <label>
    修改地址</label>
	  <input name="FaHuoAddr" type="text" value="<%out.println(system.getFieldsStr("Msg"));%>" />
      <label>
      <input type="submit" name="Submit" value="提交" />
      </label>
</form>
<%
if(check.checkString(FaHuoAddr)){
system.setUpdateField("Msg", FaHuoAddr);
if(system.updata()>0){
out.println("修改成功");
}else{
out.println("修改失败");
}
//response.sendRedirect("ModifyFaHuoAddr.jsp");
}
%>
</body>
</html>
